import request from '@/utils/request'

// 查询定期检查列表
export function listTujianjiegoudingqijiancha(query) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha/list',
    method: 'get',
    params: query
  })
}

// 查询定期检查详细
export function getTujianjiegoudingqijiancha(id) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha/' + id,
    method: 'get'
  })
}

// 新增定期检查
export function addTujianjiegoudingqijiancha(data) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha',
    method: 'post',
    data: data
  })
}

// 修改定期检查
export function updateTujianjiegoudingqijiancha(data) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha',
    method: 'put',
    data: data
  })
}

// 删除定期检查
export function delTujianjiegoudingqijiancha(id) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha/' + id,
    method: 'delete'
  })
}

// 导出定期检查
export function exportTujianjiegoudingqijiancha(query) {
  return request({
    url: '/biz/tujianjiegoudingqijiancha/export',
    method: 'get',
    params: query
  })
}